package com.hs.mpdemo_01.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
* 咨询师表
* @TableName tb_teacher
*/
@Data
@TableName("tb_teacher")
public class Teacher implements Serializable {
    private static final long serialVersionUID = -798661867057236466L;
    @TableId(value = "teacher_id",type = IdType.AUTO)
    private Integer teacherId;
    private String name;
    @TableField(value = "`rank`")
    private String rank;
    private String field;
    private String listView;
    private String regional;
    private String introduce;
    private Integer totalRate;
    private String sex;
    private Integer state;
}
